#!/bin/bash
# renders a key for the blue_white_red palette
cat <<__EOF__ > tmp.pml
set specular, off
run spectrumbar.py
spectrumbar blue, white, red, radius=2
ray 1000,200
png blue_white_red.png
quit
__EOF__
#Execute PyMol
pymol -qxci tmp.pml
#Remove temporary files
rm -rf tmp.pml
